package com.mycc.game.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mycc.game.damin.Rules;

public interface RulesService {
    IPage<Rules> selAllRules(int pageNum, int pageSize);

    //通过id查询Rules信息
    IPage<Rules> selAllRulesById(int id, int pageNum, int pageSize);

    //通过name模糊擦或许查询Rules信息
    IPage<Rules> selAllRulesByContentByName(String name, int pageNum, int pageSize);

    //删除Rules信息
    boolean delRulesById(int id);

    //新增Rules信息
    boolean addRules(Rules rules);

    //修改Rules信息
    boolean updRules(int id,Rules rules);
}
